package com.gz.jsonbean;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import com.gz.bean.Category;

public class Products {
	@JSONField(name="totalCount")
	private String totalCount;
	
	@JSONField(name="hasProduct")
	private String hasProduct;
	
	@JSONField(name="hasNextPage")
	private String hasNextPage;
	
	@JSONField(name="product")
	private List<Product> product;

	public String getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(String totalCount) {
		this.totalCount = totalCount;
	}

	public String getHasProduct() {
		return hasProduct;
	}

	public void setHasProduct(String hasProduct) {
		this.hasProduct = hasProduct;
	}

	public String getHasNextPage() {
		return hasNextPage;
	}

	public void setHasNextPage(String hasNextPage) {
		this.hasNextPage = hasNextPage;
	}

	public List<Product> getProduct() {
		return product;
	}

	public void setProduct(List<Product> product) {
		this.product = product;
	}
	@Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
	
}
